package com.st.dao;

import com.st.entity.Cart;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ICartDao {
    public List<Cart> query(Cart cart);
    public Integer add(Cart cart);
    public Integer update(Cart cart);
    public Integer del(@Param("id") Integer id);
    public List<Cart> queryEmpty(Map<String, String> map);

}
